/* __auth__ : KunLin */

package com.mall.order.dto;

import com.mall.commons.result.AbstractResponse;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@Data
public class OrderIdDetailResponse extends AbstractResponse {

    private String userName;
    private Integer orderTotal;
    private Long userId;
    private List<GoodsListDTO> goodsList;
    private String tel;
    private String streetName;
    private Integer orderStatus;

    @NoArgsConstructor
    @Data
    public static class GoodsListDTO implements Serializable {
        private String id;
        private Long itemId;
        private String orderId;
        private Integer num;
        private String title;
        private Double price;
        private Double totalFee;
        private Integer orderStatus;
        private String picPath;
    }
}
